.achive-survey {
    margin: 10px 0;
    background: #ffffff;

    // 标题
    .head-block {
        width: 100%;
        padding: 14px 16px 0 16px;
        box-sizing: border-box;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .head-block-left {
            padding-left: 12px;
            font-weight: 500;
            font-size: 16px;
            color: #222222;
            line-height: 18px;
            position: relative;

            &::before {
                content: "";
                position: absolute;
                left: 0px;
                top: 50%;
                transform: translateY(-50%);
                width: 4px;
                height: 14px;
                background: #417CE8;
                border-radius: 2px;
            }
        }

        .head-block-right {
            font-size: 13px;
            color: #999999;
            line-height: 18px;
        }
    }

    // tabs选项卡
    .tabs-block {
        margin-left: 16px;
        margin-bottom: 10px;
        width: fit-content;
        display: flex;
        background: #F5F5F5;
        border-radius: 15px;
        padding: 2px;

        .tab-pane {
            padding: 4px 10px;
            font-size: 13px;
            color: #666666;
            line-height: 18px;
        }

        .tab-pane.active {
            background: #ffffff;
            font-weight: 500;
            color: #417CE8;
            border-radius: 13px;
        }
    }

    .count-card-block {
        padding: 0 16px 0 0;
        box-sizing: border-box;
        display: flex;
        flex-wrap: wrap;
        width: 100%;

        .other-item-block {
            min-width: 260px;
            width: calc(25% - 16px);
            margin: 0 0 16px 16px;
        }
    }

    .echarts-line-block {
        padding: 0 16px 16px 16px;
        box-sizing: border-box;
    }

}

.chain-store-block {
    background: #ffffff;
    padding: 14px 0 0 0;

    // 标题
    .head-block {
        padding: 0 16px;
        width: 100%;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;

        .head-block-left {
            padding-left: 12px;
            font-weight: 500;
            font-size: 16px;
            color: #222222;
            line-height: 18px;
            position: relative;

            &::before {
                content: "";
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 4px;
                height: 14px;
                background: #417CE8;
                border-radius: 2px;
            }
        }
    }

    .store-list-block {
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;

        .store-scroll-block {
            width: 100%;
            flex-wrap: wrap;
            display: flex;
            .store-item-block {
                width: 70px;
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                margin-bottom: 10px;
                margin-right: 10px;
                .store-logo {
                    width: 50px;
                    height: 50px;
                    border-radius: 50%;
                }

                .store-name {
                    text-align: center;
                    display: block;
                    width: 70px;
                    margin-top: 6px;
                    font-size: 14px;
                    color: #222222;
                    line-height: 18px;
                    white-space: nowrap; //禁止换行
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

            }
        }

    }
}

.search-container {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 0 16px;

    .search-ipt {
        flex: 1;
        margin-right: 10px;
    }
}

:global(.mobile) {
    .achive-survey {
        margin: px2vw(10px) 0;

        // 标题
        .head-block {
            padding: px2vw(14px) px2vw(16px) 0 px2vw(16px);
            margin-bottom: px2vw(10px);

            .head-block-left {
                padding-left: px2vw(6px);
                line-height: px2vw(18px);

                &::before {
                    left: px2vw(-6px);
                    width: px2vw(4px);
                    height: px2vw(14px);
                    border-radius: px2vw(2px);
                }
            }

            .head-block-right {
                font-size: px2vw(11px);
                line-height: px2vw(18px);
            }
        }

        // tabs选项卡
        .tabs-block {
            margin-left: px2vw(16px);
            margin-bottom: px2vw(10px);
            border-radius: px2vw(15px);
            padding: px2vw(2px);

            .tab-pane {
                padding: px2vw(4px) px2vw(10px);
                font-size: px2vw(13px);
                line-height: px2vw(18px);
            }

            .tab-pane.active {
                border-radius: px2vw(13px);
            }
        }

        .count-card-block {
            justify-content: space-between;
            padding: 0 px2vw(16px);

            .other-item-block:nth-of-type(1) {
                width: 100%;
                margin-bottom: px2vw(10px);
            }

            .other-item-block {
                min-width: unset;
                margin-left: 0;
                width: calc(50% - px2vw(4px));
                margin-bottom: px2vw(8px);
            }
        }

        .echarts-line-block {
            padding: 0 0 px2vw(16px) 0;
        }

    }

    .chain-store-block {
        padding: px2vw(14px) 0 0 0;

        // 标题
        .head-block {
            padding: 0 px2vw(16px) 0 px2vw(16px);
            margin-bottom: px2vw(14px);

            .head-block-left {
                // margin-bottom: px2vw(16px);
                padding-left: px2vw(6px);
                line-height: px2vw(18px);

                &::before {
                    left: -6px;
                    width: px2vw(4px);
                    height: px2vw(14px);
                    border-radius: px2vw(2px);
                }
            }
        }

        .store-list-block {
            padding: 0;
            .store-scroll-block {
                
                margin-bottom: px2vw(10px);

                .store-item-block {
                    margin-right: 0;
                    width: 25%;
                    box-sizing: border-box;

                    .store-name {
                        width: px2vw(70px);
                        margin-top: px2vw(6px);
                        font-size: px2vw(14px);
                        line-height: px2vw(18px);
                    }

                }
            }


        }
    }

    .search-container {
        padding: 0 px2vw(16px);

        .search-ipt {
            margin-right: px2vw(10px);
        }
    }
}